﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace Vit.Web.Models
{
    public class ModuleInfo
    {
        [Key]
        [StringLength(50)]
        [Required]
        public string Name { get; set; }

        [StringLength(50)]
        [Required]
        public string Version { get; set; }

        [StringLength(50)]
        public string LastVersion { get; set; }
        public DateTime? InstalledDate { get; set; }
        public DateTime? UpdatedDate { get; set; }
        public DateTime? ExpiryDate { get; set; }
        [StringLength(50)]
        public string Operator { get; set; }
        public decimal? Fee { get; set; }
        public bool Enabled { get; set; }
    }
}
